<?php

class Application_Model_Userphone extends Zend_Db_Table_Abstract
{
    protected $_name = "phone";
    
    function getPhones($id,$limit=null){
        $result = $this->fetchAll("user_id=$id",null,$limit);
        if($result == null){
            return array();
        }
        return $result->toArray();
    }


}

